home *** CD-ROM | disk | FTP | other *** search
- N EGA35.COM
- A 100
- CLD
- MOV BH,03 ; 8x8 font pointer
- MOV AX,1130
- INT 10
- PUSH ES
- POP DS
- MOV SI,BP ; DS:SI points to font
- PUSH CS
- POP ES
- MOV DI,0152 ; ES:DI to destination
- MOV BX,0100 ; Number chars
- MOV CX,0008 ; Bytes per char
- REPZ ; Move them
- MOVSB
- SUB AX,AX ; Store two zeroes
- STOSW
- DEC BX
- JNZ 0114 ; Next character
- MOV BP,0152 ; Points to font
- MOV DX,0000 ; Starting char
- MOV CX,0100 ; Number of chars
- MOV BH,0A ; Bytes per char
- MOV BL,00 ; Block to load
- MOV AX,1110 ; Load user font
- INT 10
- SUB AX,AX
- MOV DS,AX
- PUSH [0487] ; Fix up cursor
- OR BYTE PTR [0487],01
- MOV CX,0800
- MOV AH,01
- INT 10
- POP [0487]
- MOV DX,03B4 ; Fix up underline
- MOV AX,0914
- OUT DX,AX
- INT 20
-
- R CX
- 52
- W
- Q
-
-
-